package top.szhome.develop.service;

import top.szhome.develop.dto.PropertiesSettingDTO;
import top.szhome.framework.starter.db.support.SimpleService;
import top.szhome.develop.convert.PropertyConverter;
import top.szhome.develop.entity.Property;
import top.szhome.develop.dto.PropertyDTO;
import top.szhome.develop.qry.PropertyQry;
import top.szhome.develop.vo.PropertyVO;

import java.util.List;

/**
 * 属性服务定义
 *
 * @author 唐加利
 * @date 2023/08/21
 **/
public interface PropertyService extends SimpleService<PropertyConverter, PropertyDTO, Property, PropertyVO> {

    /**
     * 获取指定表的所有列
     * @param modelId
     * @return
     */
    List<Property> getProperties(Long modelId);

    /**
     * 属性设置
     * @param settings
     */
    void setting(PropertiesSettingDTO settings);
}
